package cn.flant.data;

public interface Heap<T extends Comparable<T>> {
	public T poll();

	public T peek();

	public void add(T obj);
	
	public boolean remove(T obj);
	
	public boolean contains(T obj);
	
	public T[] toArray(T[] array);

	public int size();

	public void clear();
	
}
